home *** CD-ROM | disk | FTP | other *** search
/ PC Action 1998 November / PC Action Issue 71 (Xenia) (Novembre 1998).iso / contrib / INSTALL < prev    next >
Text File  |  1998-03-30  |  2KB  |  49 lines

  1.  
  2. To install packages in this directory (*), use the Slackware package tools.
  3. Packages may be installed from the command line using the "installpkg" command:
  4.  
  5. # installpkg somepackage.tgz
  6.  
  7.    * there is one exception in this directory -- slirp-1.0c.tar.gz
  8.      (a SLIP/CSLIP/PPP emulator) is provided as a source code package.
  9.      Don't try to use installpkg or pkgtool to install slirp-1.0c.tar.gz.
  10.  
  11. NOTE:  Some packages should only be installed in single-user mode.  This is
  12. especially true of packages that contain daemons, like the networking package
  13. tcpip.tgz, or the print spooler package bsdlpr.tgz.  To switch to single user
  14. mode, use this command:
  15.  
  16. # telinit 1
  17.  
  18. To switch back to the normal runlevel after installing your new package(s),
  19. use this command:
  20.  
  21. # telinit 3
  22.  
  23. Packages may also be installed using the menu-based package installation and
  24. removal tool "pkgtool".  Run pkgtool in the directory with the packages and
  25. follow the on screen prompts.
  26.  
  27. Removing packages
  28. -----------------
  29.  
  30. The Slackware package management tools provide a way to remove installed 
  31. packages easily and safely.  (well, obviously if you remove the wrong package
  32. it can be harmful to your machine's health :^)
  33.  
  34. To remove a package, switch into the directory containing the package database:
  35.  
  36. # cd /var/log/packages
  37.  
  38. In this directory, you'll find a text file for each package.  You can look at
  39. the files with "less" to see information about what each package does and 
  40. which files it contains.  If you want to remove a package, use the "removepkg"
  41. command in the package database directory:
  42.  
  43. # removepkg somepackage
  44.  
  45. You'll see quite a bit of output on the screen telling you exactly which files
  46. and directories are removed, which you may wish to redirect to a file for later
  47. inspection.
  48.  
  49.